package com.guodu.service;

import java.util.List;

import com.guodu.entity.PurchasingDistribution;
import com.guodu.entity.PurchasingdisStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.PurchasingDistributionQueryVo;
import com.guodu.vo.PurchasingDistributionVo;

public interface PurchasingDistributionService {
	PurchasingDistributionVo findAllMoney(PurchasingDistributionQueryVo pdq, Units units,UserInfo userInfo);
	
	void save(PurchasingDistribution purchasingDistribution);

	List<PurchasingDistributionVo> findByVo(PurchasingDistributionQueryVo pdq,Units units,UserInfo userInfo, int curPage, int pageSize);
    
	public void examinAll(PurchasingDistributionQueryVo pdq,Units units,UserInfo userInfo);
	
	long findSizeByVo(PurchasingDistributionQueryVo pdq, Units units,UserInfo userInfo);

	PurchasingDistribution findById(String purchaseId);

	void update(PurchasingDistribution purchasingDistribution, Long status);

	List<PurchasingdisStatus> findStatus(String purchaseId);

	void examine(String ids, String rs, String beforeStatus, Long status,
			UserInfo user);

	void delByIds(String[] delIds);

	List<PurchasingDistribution> findAllByVo(PurchasingDistributionQueryVo pdq,
			Units attribute,UserInfo userInfo);

}
